package com.punch.common.vo.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @className: SelectCourseVO
 * @description: selectCourse
 * @author: wujj
 * @date: 2020/12/14 16:43
 **/
@Data
public class SelectCourseVO implements Serializable {


    private Integer selectCourseId;

    private String courseName;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String courseImg;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long relateCourseId;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String relateCourseName;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer areaId;

    private String areaName;

    private Integer sortBy;

    private Integer status;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
